export default {
  contractState: [
    { label: "待审批", value: "0" },
    { label: "已审批", value: "1" }
  ],
  searchState: [
    { label: "发票录入", value: "S0501" },
    { label: "发票冲销", value: "S0502" },
  ],
  checkStateType: [
    { value: 2, label: "审批通过" },
    { value: 3, label: "审批退回" },
    { value: 5, label: "协办" },
    { value: 4, label: "审批不通过" },
    { value: 6, label: "转审" },
    { value: 5, label: "协办" }
  ],
  // 锁定表格
  fixedTableThead: [
    {
      label: "合同编号",
      prop: "contractCode",
      width: "130",
      fixed: true
    }
  ],
  // 非锁定表格
  unfixedTableThead: [
    {
      label: "审批类型",
      prop: "packName",
      width: "140"
    },
    {
      label: "结算单名称",
      prop: "contractName",
      width: "100"
    },
    {
      label: "填报单位",
      prop: "partyBName",
      width: "100"
    },
    {
      label: "合同编号",
      prop: "partyBNameBak",
      width: "100"
    },
    {
      label: "合同正式编号",
      prop: "partyAName",
      width: "100"
    },
    {
      label: "合同名称",
      prop: "contractStateStr",
      width: "70"
    },
    {
      label: "供应商",
      prop: "reportInOrgName",
      width: "100"
    },
    {
      label: "编制人",
      prop: "initTotalContractPriceIncludeTax",
      align: "right",
      width: "100"
    },
    {
      label: "编制日期",
      prop: "compileUser",
      width: "60"
    },
    {
      label: "结算单状态",
      prop: "apprResultName",
      width: "80"
    }
  ],
  // 面包屑导航
  breadcrumbArr: [
    {
      path: "/contractManagement/contractDraft/item-list",
      text: "合同管理"
    },
    {
      path: "/contractManagement/contractDraft/item-list",
      text: "物资合同"
    },
    {
      path: "/contractManagement/contractChange/item-list",
      text: "合同变更"
    }
  ],
  // 协议编号 searchInputArr
  agreementSearchInputArr: [
    { label: "协议编码", value: "protocalCode" },
    { label: "协议名称", value: "protocalName" },
    {
      label: "协议类型",
      value: "protocalType",
      type: "select",
      selectData: [
        { label: "普通协议", value: 0 },
        { label: "特殊协议", value: 1 }
      ]
    }
  ],
  // 协议编号 tableHeadOptions
  agreementTableHeadOptions: [
    { prop: "protocalCode", label: "协议编码" },
    { prop: "protocalName", label: "协议名称" },
    { prop: "protocalTypeName", label: "协议类型" },
    { prop: "materialsName", label: "物资名称" },
    { prop: "currentMeasuringUnit", label: "计量单位" },
    { prop: "currentUnitPriceIncludeTax", label: "价格" },
    { prop: "deliveryAreaName", label: "地域" }
  ],
  // 采购计划 searchInputArr
  planSearchInputArr: [
    { label: "计划编号", value: "pcode" },
    { label: "计划名称", value: "pname" },
    { label: "物资名称", value: "matname" },
    { label: "需求单位", value: "requunitname" },
    { label: "填报单位", value: "opunitname" },
    { label: "预计采购时间", value: "ppdate", type: "daterange" }
  ],
  // 采购计划 tableHeadOptions
  planTableHeadOptions: [
    { prop: "pcode", label: "计划编号", fixed: true, width: "120" },
    { prop: "pname", label: "计划名称", fixed: true, width: "150" },
    { prop: "matcode", label: "物资编码", fixed: true, width: "110" },
    { prop: "matname", label: "物资名称", width: "200" },
    { prop: "baseMeasuringUnit", label: "计量单位" },
    { prop: "pnum", label: "采购数量" },
    { prop: "comnum", label: "已采购数量", width: "90" },
    { prop: "requunitname", label: "需求单位", width: "200" },
    { prop: "ppdate", label: "预计采购时间", width: "100" },
    { prop: "deliveryTime", label: "交货时间", width: "100" },
    { prop: "ptype", label: "采购方式", width: "90" },
    { prop: "opunitname", label: "填报单位", width: "200" },
    { prop: "ptime", label: "计划时间" }
  ],
  // 采购方案 searchInputArr
  programmeSearchInputArr: [
    { label: "方案编号", value: "pursckinfocode" },
    { label: "方案名称", value: "pursckinfoname" }
  ],
  // 采购方案 tableHeadOptions
  programmeTableHeadOptions: [
    { prop: "pursckinfocode", label: "方案编号", width: "110" },
    { prop: "pursckinfoname", label: "方案名称", width: "150" },
    { prop: "packname", label: "包件名称", width: "150" },
    { prop: "materialsName", label: "物资名称", width: "150" },
    { prop: "currentMeasuringUnit", label: "计量单位", width: "80" },
    { prop: "purqualt", label: "数量", width: "80" },
    { prop: "puramt", label: "价格" },
    { prop: "psname", label: "需求单位", width: "200" },
    { prop: "matDescribe", label: "设备物资说明", width: "130" }
  ],
  // 通用
  whetherList: [
    { dicKey: 0, dicValue: "是" },
    { dicKey: 1, dicValue: "否" }
  ],
  isOverseasList: [
    { value: -1, label: "是" },
    { value: 0, label: "出口采购", isLeaf: true },
    { value: 1, label: "属地采购", isLeaf: true },
    { value: 2, label: "第三国采购", isLeaf: true },
    { value: 3, label: "否" }
  ],
  paymentModeTop: [
    { dicKey: 0, dicValue: "发票" },
    { dicKey: 1, dicValue: "结算" }
    // { dicKey: 2, dicValue: "预付款" }
  ],
  payTypeEnum: [
    { dicKey: 0, dicValue: "银行承兑" },
    { dicKey: 1, dicValue: "商业承兑" },
    { dicKey: 2, dicValue: "供应链金融" },
    { dicKey: 3, dicValue: "现金" }
  ],
  paymentRatio: [
    { dicKey: 0, dicValue: "质量保证金" },
    { dicKey: 1, dicValue: "履约保证金" }
  ],
  // 详情基础信息
  baseFormList: [
    { label: "变更原因", titleContent: "changeReason", span: 18, title: true },
    { label: "填报单位", titleContent: "reportInOrgName", title: true },
    { label: "合同签订单位", titleContent: "partyAName", title: true },
    { label: "供应商1", titleContent: "partyBName", title: true },
    { label: "供应商2", titleContent: "partyBNameBak", title: true },
    { label: "合同编号", titleContent: "contractCode" },
    { label: "合同名称", titleContent: "contractName" },
    { label: "协议编号", titleContent: "protocalCode" },
    { label: "币种", titleContent: "currencyName" },
    { label: "兑人民币汇率", titleContent: "chExchangeRate" },
    { label: "汇率参照日期", titleContent: "exchangeRateRefDateStr" },
    {
      label: "合同金额(含税)",
      titleContent: "initTotalContractPriceIncludeTax"
    },
    {
      label: "合同金额(不含税)",
      titleContent: "initTotalConractPriceExcludeTax"
    },
    { label: "是否浮动合同价格", titleContent: "isFloatContractPrice" },
    { label: "是否海外采购", titleContent: "isOverseas" },
    { label: "多税率", titleContent: "multiRateCode" },
    { label: "税率", titleContent: "taxRatePercent" },
    { label: "对方联系人", titleContent: "contractPerson" },
    { label: "物资来源", titleContent: "materialSource" },
    { label: "对方联系手机号", titleContent: "contractPersonTel" },
    { label: "编制日期", titleContent: "compileDateStr" },
    { label: "编制人", titleContent: "compileUser" },
    { label: "浮动价说明", titleContent: "floatDesc", span: 18, title: true },
    {
      label: "合同主要条款",
      titleContent: "mainTermsOfContract",
      span: 18,
      title: true
    },
    { label: "备注", titleContent: "remark", span: 18, title: true }
  ],
  // 详情财务信息
  financeFormList: [
    { label: "供应商纳税人类型", titleContent: "taxpayerName" },
    { label: "账户名称", titleContent: "bankPersonName" },
    { label: "开户行名称", titleContent: "bankName" },
    { label: "开户行账号", titleContent: "bankId" }
  ],
  // 采购清单
  purchaseTableThead: [
    { prop: "materialsCode", label: "设备物资编码", width: 110, fixed: true },
    { prop: "materialsName", label: "设备物资名称", width: 300, fixed: true },
    { prop: "matDescribe", label: "设备物资说明", width: 130 },
    { prop: "thirdCategoriesOfName", label: "分类名称", width: 130 },
    { prop: "currentMeasuringUnit", label: "计量单位", width: 100 },
    { prop: "currentNum", label: "数量", width: 130 },
    { prop: "currentUnitPriceExcludeTax", label: "不含税单价", width: 130 },
    { prop: "currentChangeAmtExcludeTax", label: "不含税金额", width: 130 },
    { prop: "taxRatePercent", label: "税率", width: 100 },
    { prop: "currentUnitPriceIncludeTax", label: "含税单价", width: 130 },
    { prop: "currentChangeAmtIncludeTax", label: "含税金额", width: 130 },
    { prop: "rate", label: "税额", width: 100 },
    { prop: "address", label: "交货地点", width: 130 },
    { prop: "deliveryTime", label: "交货时间", width: 130 },
    { prop: "manufacturer", label: "生产厂家/品牌", width: 130 },
    { prop: "purchasePlanCode", label: "采购计划编号", width: 130 },
    { prop: "purchasePlanName", label: "采购计划名称", width: 130 },
    { prop: "planCode", label: "方案编号", width: 130 },
    { prop: "planName", label: "方案名称", width: 130 },
    { prop: "protocalCode", label: "协议编号", width: 130 },
    { prop: "protocalName", label: "协议名称", width: 130 }
  ],
  histryChangeTableThead: [
    { prop: "contractCode", label: "合同编号" },
    { prop: "contractName", label: "合同名称" },
    { prop: "partyBName", label: "供应商" },
    { prop: "changeName", label: "版本序号" },
    { prop: "compileDateStr", label: "编制日期" },
    { prop: "compileUser", label: "编制人" }
  ],
  // 使用范围
  useRangeTableThead: [
    { prop: "applyOrgName", label: "公司名称" },
    { prop: "rangeOfApply", label: "合同范围说明" },
    { prop: "operationTimeStr", label: "操作时间" }
  ],
  // 付款方式
  onceFixTimeEnum: [
    { dicKey: 1, dicValue: "按月" },
    { dicKey: 2, dicValue: "按工作日" },
    { dicKey: 3, dicValue: "指定日期" },
    { dicKey: 4, dicValue: "按天" },
    { dicKey: 5, dicValue: "预付款" }
  ],
  fixTimeEnum: [
    { dicKey: 0, dicValue: "上次支付后" },
    { dicKey: 1, dicValue: "按月" },
    { dicKey: 2, dicValue: "按工作日" },
    { dicKey: 3, dicValue: "指定日期" },
    { dicKey: 4, dicValue: "按天" },
    { dicKey: 5, dicValue: "预付款" }
  ],
  advanceChargeEnum: [{ dicKey: 5, dicValue: "预付款" }],
  fixTimeEnum1: [
    { dicKey: 0, dicValue: "月内" },
    { dicKey: 1, dicValue: "天内" },
    { dicKey: 2, dicValue: "工作日内" }
  ],
  // 供应商纳税人类型
  supplierTaxpayerType: [
    { dicKey: "0", dicValue: "一般纳税人" },
    { dicKey: "1", dicValue: "小规模纳税人" }
    // { dicKey: '2', dicValue: "营业税纳税人" }
  ],
  fixTimeMap: {
    "0": "",
    "1": "月内",
    "2": "工作日内",
    "3": "",
    "4": "天内"
  },
  // 填报单位表头
  reportInOrgTableHead: [
    { prop: "name", label: "填报单位名称", width: "150" },
    { prop: "shortName", label: "填报单位简称", width: "150" },
    { prop: "extOid", label: "代码", width: "150" }
  ],
  // 供应商表头
  supplierTableHead: [
    { prop: "supplierName", label: "供应商名称", width: "150" },
    { prop: "supplierCode", label: "供应商编码", width: "150" },
    { prop: "unifiedCode", label: "统一社会信用代码", width: "150" }
  ],
  // 清单下拉菜单
  dropdownArr: [
    { command: "taxRate", text: "税率", disabled: true },
    { command: "address", text: "交货地点", disabled: false },
    { command: "deliveryTime", text: "交货时间", disabled: false },
    { command: "manufacturer", text: "生产厂家/品牌", disabled: false }
  ]
};
